<?php 
class position{
	protected $province	 = NULL;
	protected $city		 = NULL;
	
	public function __construct($position_str, $zone) {
		if ( is_array($position_str) ) {
			switch($position_str[0]) {
				case '重庆市':
				case '北京市':
				case '上海市':
				case '天津市':
					$province_str	 = $position_str[0];
					$city_str		 = $position_str[0];
				break;
				default:
					
				break;
			}
		}
	}
	
	public function getProvince() {
		return $this->province;
	}
	
	public function getCity() {
		return $this->city;
	}
}
?>